package com.cxx.home.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxx.framework.data.AbstractIdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("food_record")
public class FoodRecord extends AbstractIdEntity {
    @TableField("food_id")
    private Long foodId;

    @TableField("date")
    private Date date;

    @TableField("person")
    private String person;

    @TableField("image_url")
    private String imageUrl;
}
